<template>
	<view class="page-con pd10">
		<view
		  class="cardview bgwhite pdlr"
		  v-for="(item, index) in recordList"
		  :key="index"
		>
		  <view class="fl title pdtb10">
			  <text class="title">{{ item.no }}</text>
		  </view>
		  <view class="pdb">
			<view class="fl mgb10">
			  <text class="form-tit">停车场名：</text>
			  <text class="form-value">{{ item.no }}</text>
			</view>
			<view class="fl mgb10">
			  <text class="form-tit">车场类型：</text>
			  <text class="form-value">{{ item.type }}</text>
			</view>
			<view class="fl mgb10">
			  <text class="form-tit">入场时间：</text>
			  <text class="form-value">{{ item.inTime }}</text>
			</view>
			<view class="fl">
			  <text class="form-tit">离场时间：</text>
			  <text class="form-value">{{ item.leaveTime }}</text>
			</view>
		  </view>
		</view>
	</view>
</template>

<script setup>
	import {
		ref,
		computed,
		onMounted,
		reactive,
		nextTick
	} from 'vue';
	import {
		onLoad,
		onShow
	} from '@dcloudio/uni-app';
	const recordList = ref([
	  {
		ID: 1,
		no: "陕A51Q3Z",
		content: "123123213",
		type: "路侧停车场",
		inTime: '2025-06-17  17:09:26',
		leaveTime: '2025-06-17  17:09:26',
	  },
	]);
	onLoad(async (query) => {
		uni.setNavigationBarTitle({
			title: "停车记录"
		})
	});
</script>

<style>

</style>
